package com.yuanfengerp.basicInfoManage.customerInfo.dao;

import com.yuanfengerp.basicInfoManage.customerInfo.model.Customerinfo;
import com.yuanfengerp.basicInfoManage.warehouseinfo.model.Warehouseinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ICustomerinfoDao {

    Integer Count();
    List<Customerinfo> selectCustomerAll(Map<String ,Object> params);

    Integer addCustomer(Customerinfo customerinfo);

    Integer updateCustomer(Customerinfo customerinfo);

    Customerinfo selectCustomer(@Param("customer_id") String customer_id);
}
